<template>
  <div class="top">
    <div class="container">
      <div class="top_left fl">
        <router-link to="">正品保障，免息分期！</router-link>
      </div>
      <div class="top_right fr">
        <div class="top_login">
          <router-link to="/login">请登录</router-link>
          <router-link to="/register">注册即送6800元大礼包</router-link>
        </div>
        <div class="top_others">
          <span>|</span>
          <div class="cart">购物车</div>
          <div class="service">客户服务</div>
          <div class="welfare">会员福利</div>
          <span>|</span>
          <div class="lang">ENGLISH</div>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {};
</script>

<style scoped lang="scss">
.top {
  width: 100%;
  height: 28px;
  font-size: 12px;
  line-height: 28px;
  background-color: #f4f4f4;
  a {
    text-decoration: none;
  }
  .top_left a {
    display: block;
    height: 28px;
    margin-left: 10px;
    color: #998c59;
  }
  .top_right {
    display: flex;
    .top_login {
      display: flex;
      a {
        display: block;
        height: 28px;
        padding: 0 10px;
      }
      & :nth-child(1) {
        color: #999;
      }
      & :nth-child(2) {
        color: #ae0f17;
      }
    }
    .top_others {
      display: flex;
      span {
        margin: 0 8px;
        color: #ddd;
      }
      div {
        color: #999;
        padding: 0 10px;
      }
    }
  }
}
</style>
